# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit-terminal
pkgver=3.0.1
pkgrel=1
pkgdesc='Terminal support components for Maui applications'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(mauikit)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('63a2375424dd6cc764f10fd890f7cd903680ca0ef2d943e5ac6409dc1801edf0')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
